package cn.exrick.xboot.shop.service.impl;

import cn.exrick.xboot.shop.entity.ShopComment;
import cn.exrick.xboot.shop.mapper.ShopCommentMapper;
import cn.exrick.xboot.shop.service.IShopCommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* <p>
    * 评论表  服务实现类
    * </p>
*
* @author yuhaifei
* @since 2022-01-10
*/
@Service
public class ShopCommentServiceImpl extends ServiceImpl<ShopCommentMapper, ShopComment> implements IShopCommentService {

    @Autowired
    private ShopCommentMapper shopCommentMapper;

    @Override
    public List<ShopComment> selectCommnet(String tid) {
        return shopCommentMapper.selectCommnet(tid);
    }
}
